﻿ALTER TABLE [acms].[TemplateHierarchy]
    ADD CONSTRAINT [TemplateHierarchy_FK_ChildId] FOREIGN KEY ([ChildId]) REFERENCES [acms].[Templates] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

